<template>
  <div class="wrapper">
    <div class="left">
      <ul>
        <li @click="goList">基础表格</li>
        <li @click="goModel">Tab选项卡</li>
        <li @click="goA">A卷</li>
      </ul>
    </div>
    <div class="right">
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        
      }
    },
    mounted() {
      
    },
    methods: {
      goList(){
        this.$router.push('/list')
      },
      goModel(){
        this.$router.push('/model')
      },
      goA(){
        this.$router.push('/Alist')
      }
    },
  }
</script>

<style lang="scss" scoped>
.wrapper{
width: 100%;
height: 100Vh;
display: flex;
.left{
  width: 200px;
  height: 100%;
  background: #ccc;
  ul{
    list-style: none;
    text-align: center;
    li{
      height: 50px;
      line-height: 50px;
      border-bottom: 1px solid black;
    }
  }
}
.right{
  flex: 1;
  height: 100%;
 
} 
}
</style>